id/email
password
forgot password | create account
about | help | prefs
ReadingBatcode reading practice

 

 

Lambda IntroNoArgLambda1

fun constVal(): Int { return 5 } fun funcNoArg1(i: Int): Int = i * constVal() fun main() { println(funcNoArg1(5)) println(funcNoArg1(10)) println(funcNoArg1(20)) }

Click on to run the code

⬅ Back